﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Longtop.Web.WebSite.Models;
using Longtop.Web.WebSite.Shared;
using System.Web.Mvc;
using System.Web.Routing;
using Longtop.Web.Helpers;

namespace Longtop.Web.WebSite.Admin.Shared
{
    public class TreeMenu
    {
        public string Title;
        public MenuItemRoutes Routes { get; set; }
        public List<TreeMenu> Children { get; set; }

    }

    public class MenuItemRoutes
    {
        public RouteValueDictionary Index { get; set; }
        public RouteValueDictionary Edit { get; set; }
        public RouteValueDictionary Create { get; set; }
    }
    //public class IndexModel {
    //    public string Title { get; set; }
    //    public string Description { get; set; }
    //    public List<TreeMenu> MenuItems { get; set; }
    //}

    public class IndexMasterModel : SiteMasterModel
    {
        public string Description { get; set; }
        public object DefaultRouteValues { get; set; }
    }
}

